﻿// Decompiled by AS3 Sorcerer 6.12
// www.as3sorcerer.com

//Sfx

package 
{
    import flash.display.Sprite;
    import flash.display.Graphics;
    import flash.events.Event;
    import flash.filters.GlowFilter;

    public class Sfx extends Sprite 
    {

        private const _SafeStr_275:int = 0;
        private const _SafeStr_276:int = 1;

        private var _SafeStr_95:int = 0;
        private var _SafeStr_279:Number = 0;
        private var _SafeStr_278:Number = 0;

        public function Sfx()
        {
            mouseEnabled = false;
            mouseChildren = false;
        }

        private function _SafeStr_277():void
        {
            var g:Graphics = graphics;
            g.clear();
            g.lineStyle(4, 0xFFFFFF, ((this._SafeStr_278 < 1) ? (1 - this._SafeStr_278) : 0));
            g.drawCircle(0, 0, this._SafeStr_279);
            this._SafeStr_279 = (this._SafeStr_279 + 2);
            this._SafeStr_278 = (this._SafeStr_278 + 0.1);
        }

        private function onEnterFrame(event:Event):void
        {
            if (this._SafeStr_278 > 1)
            {
                this._SafeStr_95 = this._SafeStr_275;
                graphics.clear();
                filters = null;
                removeEventListener(Event.ENTER_FRAME, this.onEnterFrame);
                return;
            };
            switch (this._SafeStr_95)
            {
                case this._SafeStr_276:
                    this._SafeStr_277();
                    return;
            };
        }

        public function startWave(initRadius:Number):void
        {
            if (this._SafeStr_95 != this._SafeStr_275)
            {
                return;
            };
            this._SafeStr_95 = this._SafeStr_276;
            this._SafeStr_278 = 0;
            this._SafeStr_279 = initRadius;
            filters = [new GlowFilter(0xFFFFFF, 1)];
            addEventListener(Event.ENTER_FRAME, this.onEnterFrame);
        }


    }
}//package 

// _SafeStr_275 = "_-92" (String#5084, DoABC#2)
// _SafeStr_276 = "_-BH" (String#5196, DoABC#2)
// _SafeStr_277 = "_-1H" (String#4712, DoABC#2)
// _SafeStr_278 = "_-3l" (String#4830, DoABC#2)
// _SafeStr_279 = "_-6J" (String#4952, DoABC#2)
// _SafeStr_95 = "_-5e" (String#4918, DoABC#2)


